import { AbstractGuideItems } from './abstract-guide-items';
import { IGuideItemOptions } from './guide-item';
import * as Immersive from './images/immersive-image';


/**
 * 沉浸模式操作指导参数信息
 */
class GuideItemsImmersive extends AbstractGuideItems {

    protected get moveImagesAndContents(): [string, string][] {
        return [
            [Immersive.ThumbstickPushUp, '向前推手柄摇杆，向前移动。'],
            [Immersive.ThumbstickPushDown, '向后拉手柄摇杆，向后移动。'],
            [Immersive.ThumbstickPushLeft, '向左推手柄摇杆，向左移动。'],
            [Immersive.ThumbstickPushRight, '向右推手柄摇杆，向右移动。'],
        ];
    }

    protected get orientateImagesAndContents(): [string, string][] {
        return [];
    }

    protected get zoomImagesAndContents(): [string, string][] {
        return [];
    }

    protected get panImagesAndContents(): [string, string][] {
        return [];
    }

    protected get clickImagesAndContents(): [string, string][] {
        return [
            [Immersive.TriggerClick, '射线落在物体上时点击手柄扳机键，\n进行选择等操作。'],
        ];
    }

    protected get dragImagesAndContents(): [string, string][] {
        return [
            [Immersive.TriggerDrag, '射线落在物体上时按住手柄扳机键并\n移动，进行拖拽操作。'],
        ];
    }

    protected get pressImagesAndContents(): [string, string][] {
        return [
            [Immersive.TriggerPress, '射线落在物体上时按住手柄扳机键不\n动，触发特殊操作。'],
        ];
    }

    protected get itemCommonOptions(): IGuideItemOptions {
        const ops = super.itemCommonOptions;
        ops.imageWidth = 130;
        ops.imageHeight = 130;
        return ops;
    }

}


export { GuideItemsImmersive };